package com.xuetang9.t9.xinhuaxia.service;

import com.github.pagehelper.PageInfo;
import com.xuetang9.t9.xinhuaxia.beans.Orderlist;
import com.xuetang9.t9.xinhuaxia.beans.UserOrderlist;

import java.util.List;

/**
 * @author 李亚奇
 * @version 1.0
 * @desc TODO
 * @date 2020/3/4 14:25
 * @copyright liyq
 * @address 成都西部国际金融中心2栋2201
 **/
public interface IOrderlistService {

    boolean insert(Orderlist orderlist);

    boolean remove(Long id);

    boolean update(Orderlist orderlist);

    Orderlist queryById(Long id);

    List<Orderlist> queryByOrderId(Long id);

    Orderlist queryByProperty(Orderlist orderlist);

    PageInfo<Orderlist> queryByPage(int currentPage, int perPageSize);
}
